package com.jt.utils;

/**
 * 转发的地理数据
 * @author wang xiao
 * date 2023/8/9
 */
public class ForwardLocationData {

    private String devNum;

    /**
     * 告警信息 4字节
     */
    private int alarm;
    /**
     * 状态 4字节
     */
    private int status;
    /**
     * 纬度 4字节
     */
    private float latitude;
    /**
     * 经度 4字节
     */
    private float longitude;
    /**
     * 海拔高度 2字节
     */
    private short elevation;
    /**
     * 速度 2字节
     */
    private short speed;
    /**
     * 方向 2字节
     */
    private short direction;
    /**
     * 时间 6字节BCD
     */
    private String time;

    /**
     * 附加信息 里程数
     */
    private Long mileage;

    /**
     * acc 开关
     */
    private Boolean accEnable;

    /**
     * 定位开关
     */
    private Boolean locateEnable;

    /**
     *     0 北纬 1 南纬度
     */
    private Integer latitudeType;

    /**
     * 0 东经 1 西经
     */
    private Integer longitudeType;

    /**
     * 超速报警
     */
    private Boolean speedingWarn;

    /**
     * 电源电压 告警
     */
    private Boolean powerVoltageWarn;


    /**
     * 电源掉电
     */
    private Boolean powerFailure;


    public int getAlarm() {
        return alarm;
    }

    public void setAlarm(int alarm) {
        this.alarm = alarm;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public float getLatitude() {
        return latitude;
    }

    public void setLatitude(float latitude) {
        this.latitude = latitude;
    }

    public float getLongitude() {
        return longitude;
    }

    public void setLongitude(float longitude) {
        this.longitude = longitude;
    }

    public short getElevation() {
        return elevation;
    }

    public void setElevation(short elevation) {
        this.elevation = elevation;
    }

    public short getSpeed() {
        return speed;
    }

    public void setSpeed(short speed) {
        this.speed = speed;
    }

    public short getDirection() {
        return direction;
    }

    public void setDirection(short direction) {
        this.direction = direction;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Long getMileage() {
        return mileage;
    }

    public void setMileage(Long mileage) {
        this.mileage = mileage;
    }

    public String getDevNum() {
        return devNum;
    }

    public void setDevNum(String devNum) {
        this.devNum = devNum;
    }


    public Boolean getAccEnable() {
        return accEnable;
    }

    public void setAccEnable(Boolean accEnable) {
        this.accEnable = accEnable;
    }

    public Boolean getLocateEnable() {
        return locateEnable;
    }

    public void setLocateEnable(Boolean locateEnable) {
        this.locateEnable = locateEnable;
    }

    public Integer getLatitudeType() {
        return latitudeType;
    }

    public void setLatitudeType(Integer latitudeType) {
        this.latitudeType = latitudeType;
    }

    public Integer getLongitudeType() {
        return longitudeType;
    }

    public void setLongitudeType(Integer longitudeType) {
        this.longitudeType = longitudeType;
    }

    public Boolean getSpeedingWarn() {
        return speedingWarn;
    }

    public void setSpeedingWarn(Boolean speedingWarn) {
        this.speedingWarn = speedingWarn;
    }

    public Boolean getPowerVoltageWarn() {
        return powerVoltageWarn;
    }

    public void setPowerVoltageWarn(Boolean powerVoltageWarn) {
        this.powerVoltageWarn = powerVoltageWarn;
    }

    public Boolean getPowerFailure() {
        return powerFailure;
    }

    public void setPowerFailure(Boolean powerFailure) {
        this.powerFailure = powerFailure;
    }
}
